package com.budwk.app.enterprise.models;

import com.budwk.starter.common.openapi.annotation.ApiModel;
import com.budwk.starter.common.openapi.annotation.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;
import org.nutz.dao.entity.annotation.*;
import org.nutz.dao.interceptor.annotation.PrevInsert;

import java.io.Serializable;

/**
 * 进出口相关信息
 */

@Data
@Accessors(chain = true)
@Table("dfxy_enterprise.zb_import_export_information")
@Comment("进出口相关信息")
@ApiModel(description = "进出口相关信息")
public class ImportExportInformation extends BaseCommonModel implements Serializable {

    private static final long serialVersionUID = 1L;

    @Column
    @Name
    @Comment("ID")
    @ApiModelProperty(description = "ID")
    @ColDefine(type = ColType.VARCHAR, width = 32)
    @PrevInsert(els = {@EL("snowflake()")}, nullEffective = true)
    private String id;

    @Column("product_name_code")
    @Comment("商品名称和HS编码")
    @ApiModelProperty(description = "商品名称和HS编码")
    @ColDefine(type = ColType.VARCHAR, width = 100)
    private String productNameCode;

    @Column("imports_exports")
    @Comment("进出口量")
    @ApiModelProperty(description = "进出口量")
    @ColDefine(type = ColType.VARCHAR, width = 50)
    private String importsExports;

    @Column("import_export_amount")
    @Comment("进出口金额")
    @ApiModelProperty(description = "进出口金额")
    @ColDefine(type = ColType.VARCHAR, width = 50)
    private String importExportAmount;

    @Column("import_export_country")
    @Comment("进出口国家或地区")
    @ApiModelProperty(description = "进出口国家或地区")
    @ColDefine(type = ColType.VARCHAR, width = 100)
    private String importExportCountry;

    @Column("trade_mode")
    @Comment("贸易方式（如一般贸易、加工贸易）")
    @ApiModelProperty(description = "贸易方式（如一般贸易、加工贸易）")
    @ColDefine(type = ColType.VARCHAR, width = 100)
    private String tradeMode;

    @Column("tariffs_taxes")
    @Comment("关税和税费")
    @ApiModelProperty(description = "关税和税费")
    @ColDefine(type = ColType.VARCHAR, width = 50)
    private String tariffsTaxes;
}















